import LinkedList from '../../../src/datastructure/linkedlist/linkedlist'

const list = new LinkedList()
list.push(1)
list.push(2)
list.push(3)
list.insert(0, 0)
list.insert(4, 4)
list.insert(2.5, 2)

console.log(list + '')
console.log(list.getElementAt(2))

list.remove(2.5)
console.log(list + '')

console.log(list.indexOf(3))

list.removeAt(2)
console.log(list + '')

list.removeAt(3)
console.log(list + '')
